package com.tc.service;


import com.tc.domain.dataobject.Order;
import com.tc.model.dto.UserAndAmountInfoDTO;

import java.util.List;
import java.util.Map;

public interface OrderService {


    List<Order> findAllPaidOrdersDESC();

    List<UserAndAmountInfoDTO> findAllOrdersAndUserId();

    List<Order> top3ByUserId();
    Long sum7days();

    List<Order> top5ByAmount();

}
